package com.mentaleye.service;

import com.mentaleye.bean.InterflowBean;
import com.mentaleye.dal.model.InterflowExample;
import com.mentaleye.util.CommonPage;

import java.util.List;
import java.util.Map;

/**
 * Created by Rock on 2017/5/12.
 */
public interface InterflowService {

    public boolean add(InterflowBean bean);

    public boolean edit(InterflowBean bean);

    public boolean editByExample(InterflowBean bean, InterflowExample example);

    public boolean remove(Integer interflowId);

    public boolean removeByExample(InterflowExample example);

    public InterflowBean query(Integer interflowId);

    public List<InterflowBean> queryByExample(InterflowExample example);

    public List<Map<String, Object>> queryNotStudent();

    public void queryByCommpage(CommonPage commonPage);
}
